//
//  VisitorLoginView.h
//  王雷Sinoweibo
//
//  Created by wanglei on 16/10/20.
//  Copyright © 2016年 wanglei. All rights reserved.
//

#import <UIKit/UIKit.h>

//声明协议
@protocol VisitorLoginViewDelegate<NSObject>

@optional
- (void)userWillLogin;
- (void)userWillRegister;

@end


@interface VisitorLoginView : UIView

@property(nonatomic,weak) id<VisitorLoginViewDelegate> delegate;
@property(nonatomic,strong) UIImageView *circleIcon;
@property(nonatomic,strong) UIImageView *largeHouse;
@property(nonatomic,strong) UIImageView *backImage;
@property(nonatomic,strong) UILabel *tipLable;

@property(nonatomic,strong) UIButton *loginBtn;
@property(nonatomic,strong) UIButton *registerButton;

- (instancetype)initWithFrame:(CGRect)frame;
- (void)setUpUI;
- (void)setUpInfoWithlabelText:(NSString *)labelText andimageName:(NSString *)imageName;
- (void)startAnimation;
@end
